package com.bulls.demo.hrmsdemo.db;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the employee_qualifications database table.
 * 
 */
@Entity
@NamedQuery(name="fetchEmployeeQualificationByEmployeeID",query="SELECT EmployeeQualifications FROM EmployeeQualification AS EmployeeQualifications WHERE EmployeeQualifications.employeeId = :employeeID")
@Table(name="employee_qualifications")
public class EmployeeQualification implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="EMPLOYEE_QUALIFICATIONS_QUALIFICATIONID_GENERATOR", sequenceName="EMPLOYEE_QUALIFICATION_SEQ")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="EMPLOYEE_QUALIFICATIONS_QUALIFICATIONID_GENERATOR")
	@Column(name="qualification_id")
	private String qualificationId;

	private String degree;

	@Column(name="employee_id")
	private Long employeeId;

	@Column(name="percentage_of_marks_obtained")
	private BigDecimal percentageOfMarksObtained;

	@Column(name="year_of_passing")
	private String yearOfPassing;

	public EmployeeQualification() {
	}

	public String getQualificationId() {
		return this.qualificationId;
	}

	public void setQualificationId(String qualificationId) {
		this.qualificationId = qualificationId;
	}

	public String getDegree() {
		return this.degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

	public Long getEmployeeId() {
		return this.employeeId;
	}

	public void setEmployeeId(Long employeeId) {
		this.employeeId = employeeId;
	}

	public BigDecimal getPercentageOfMarksObtained() {
		return this.percentageOfMarksObtained;
	}

	public void setPercentageOfMarksObtained(BigDecimal percentageOfMarksObtained) {
		this.percentageOfMarksObtained = percentageOfMarksObtained;
	}

	public String getYearOfPassing() {
		return this.yearOfPassing;
	}

	public void setYearOfPassing(String yearOfPassing) {
		this.yearOfPassing = yearOfPassing;
	}

}